package com.xd.cloud.entity.core;

import com.xd.cloud.entity.BaseEntity;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @author wangtao
 * @class_name DataAuthValidate
 * @description 数据权限实体类
 * @create 2017/12/27
 */
@Entity
@Table(name = "sys_data_authority")
public class DataAuthority extends BaseEntity{

    private String rule;
    private String name;
    public String getRule() {
        return rule;
    }

    public void setRule(String rule) {
        this.rule = rule;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
